﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChapterList.aspx.cs" Inherits="com.tiyma.web.book.ChapterList" EnableViewState="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>章节列表</title>
    <link href="/style/chapterList.css" rel="stylesheet" type="text/css" />
    <script>
//添加到收藏夹   
function AddToFavorite()   
{   
    if (document.all){   
       window.external.addFavorite(document.URL,document.title);   
    }else if (window.sidebar){   
       window.sidebar.addPanel(document.title, document.URL, "");   
    }   
}   
  
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="header_index" class="nhead_top">

<div class="nhead_topbox">
			 
				 <ul class="nhead_ltop">
            	<li><a href="#">注册</a></li><li><a  href="#">登录</a></li>
            </ul>
				 
            <ul class="nhead_rtop">
            	<li><a href="javascript:AddToFavorite();">加入收藏</a></li><li>|</li><li><a  href="#">加入书架</a></li>
                
            </ul>
            
			

</div>
</div>
<DIV class=clear></DIV>
<DIV class=wrap>
<H1 class=cltit><%=m_book_name%><STRONG>作者：<%=m_author_name%>  </STRONG></H1>
<DIV class=ctspsl></DIV>

<DIV class=cltop>
<H2>章节列表</H2>
<TABLE><TBODY><asp:Repeater ID="rptChapter" runat="server"><ItemTemplate><asp:PlaceHolder ID="PlaceHolder1" runat="server" Visible='<%# (Container.ItemIndex+1) % 4 ==1 %>'><tr></asp:PlaceHolder><td><%#Container.ItemIndex+1 %>、<a  href="/book/chapter.aspx?chapterId=<%#Eval("chapterId") %>&siteId=<%#Eval("siteId") %>"><%#com.tiyma.common.SystemUtil.GetGBString( Eval("chapterName").ToString(),26) %></a></td><asp:PlaceHolder ID="PlaceHolder2" runat="server" Visible='<%# (Container.ItemIndex+1) % 4 ==0 %>'></tr></asp:PlaceHolder></ItemTemplate></asp:Repeater></TBODY></TABLE></DIV>
</DIV>
    <DIV class="foot" style="text-align:center; width:950px;">
<div class="s1">以上章节列表来源与<strong><%=m_site_name %></strong>，或许不是网站的最新更新列表，可以<a href="<%=m_chapter_list_url %>" target="_blank">点击此处</a>查进入站点章节列表</div>
<DIV 
class=s2>Copyright 
&copy; 体验码&nbsp;<IMG border=0 align=absMiddle 
src="/images/gn.gif">浙ICP备10004041号-1
</DIV></DIV>
    </div>
     <div style="display:none;">
<script language="javascript" type="text/javascript" src="http://js.users.51.la/5235051.js"></script>
</div>
    </form>
</body>
</html>
